package u.can.i.up.db.postgre;

import u.can.i.up.db.mysql.SourceInfo;

public class AppInfo {

	private int id;

	private String md5;

	private String version;

	private int version_code;

	private String package_name;

	private String path;

	public AppInfo() {
	}

	public AppInfo(SourceInfo si) {
		this.md5 = si.getMd5();
		this.version = si.getVersion();
		this.version_code = si.getVersion_code();
		this.package_name = si.getPackage_name();
		this.path = si.getFile_path();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getMd5() {
		return md5;
	}

	public void setMd5(String md5) {
		this.md5 = md5;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public int getVersion_code() {
		return version_code;
	}

	public void setVersion_code(int version_code) {
		this.version_code = version_code;
	}

	public String getPackage_name() {
		return package_name;
	}

	public void setPackage_name(String package_name) {
		this.package_name = package_name;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

}
